package com.time.admin.domain.converter;

import com.time.admin.domain.entity.FriendLinkBO;
import com.time.admin.infra.basic.entity.FriendLink;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 友链BO转换类
 *
 * @author: HuangQi
 * @date: Created in 16:18 2025/10/31
 * @description: 友链BO转换类
 */
@Mapper
public interface FriendLinkBOConverter {

    FriendLinkBOConverter INSTANCE = org.mapstruct.factory.Mappers.getMapper(FriendLinkBOConverter.class);

    FriendLink convertBOToEntity(FriendLinkBO friendLinkBO);

    List<FriendLinkBO> convertEntityListToBO(List<FriendLink> friendLinkList);
}
